package com.erp.entity.goods;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

public class GoodsEditDto {
    private String goods;
    private MultipartFile[] images;

    private Integer[] imgDeleteIds;


    public GoodsEditDto() {
    }

    public GoodsEditDto(String goods, MultipartFile[] images, Integer[] imgDeleteIds) {
        this.goods = goods;
        this.images = images;
        this.imgDeleteIds = imgDeleteIds;
    }

    /**
     * 获取
     * @return goods
     */
    public String getGoods() {
        return goods;
    }

    /**
     * 设置
     * @param goods
     */
    public void setGoods(String goods) {
        this.goods = goods;
    }

    /**
     * 获取
     * @return images
     */
    public MultipartFile[] getImages() {
        return images;
    }

    /**
     * 设置
     * @param images
     */
    public void setImages(MultipartFile[] images) {
        this.images = images;
    }

    /**
     * 获取
     * @return imgDeleteIds
     */
    public Integer[] getImgDeleteIds() {
        return imgDeleteIds;
    }

    /**
     * 设置
     * @param imgDeleteIds
     */
    public void setImgDeleteIds(Integer[] imgDeleteIds) {
        this.imgDeleteIds = imgDeleteIds;
    }

    public String toString() {
        return "GoodsEditDto{goods = " + goods + ", images = " + images + ", imgDeleteIds = " + imgDeleteIds + "}";
    }
}
